package com.partner.domain;
/**
 * 用户实体类
 * @author Jinshuan
 *
 */
public class User {
	private String phone;
	private String username;
	private String password;
	private String photo;
	private String year;
	private String zhuanye;
	private String school;
	private String bindphone;
	private String token;
	
	
	/**
	 * @return the token
	 */
	public String getToken() {
		return token;
	}
	/**
	 * @param token the token to set
	 */
	public void setToken(String token) {
		this.token = token;
	}
	/**
	 * @return the phone
	 */
	public String getPhone() {
		return phone;
	}
	/**
	 * @param phone the phone to set
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}
	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @return the photo
	 */
	public String getPhoto() {
		return photo;
	}
	/**
	 * @param photo the photo to set
	 */
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	/**
	 * @return the year
	 */
	public String getYear() {
		return year;
	}
	/**
	 * @param year the year to set
	 */
	public void setYear(String year) {
		this.year = year;
	}
	/**
	 * @return the zhuanye
	 */
	public String getZhuanye() {
		return zhuanye;
	}
	/**
	 * @param zhuanye the zhuanye to set
	 */
	public void setZhuanye(String zhuanye) {
		this.zhuanye = zhuanye;
	}
	/**
	 * @return the school
	 */
	public String getSchool() {
		return school;
	}
	/**
	 * @param school the school to set
	 */
	public void setSchool(String school) {
		this.school = school;
	}
	/**
	 * @return the bindphone
	 */
	public String getBindphone() {
		return bindphone;
	}
	/**
	 * @param bindphone the bindphone to set
	 */
	public void setBindphone(String bindphone) {
		this.bindphone = bindphone;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	
	public User(String phone, String username, String password, String photo,
			String year, String zhuanye, String school, String bindphone,String token) {
		super();
		this.phone = phone;
		this.username = username;
		this.password = password;
		this.photo = photo;
		this.year = year;
		this.zhuanye = zhuanye;
		this.school = school;
		this.bindphone = bindphone;
		this.token = token;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "User [phone=" + phone + ", username=" + username
				+ ", password=" + password + ", photo=" + photo + ", year="
				+ year + ", zhuanye=" + zhuanye + ", school=" + school
				+ ", bindphone=" + bindphone + ", token=" + token + "]";
	}
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}
